package com.tvunetworks.center.device.model.json;


import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * @program: tvucc-device
 * @author lebronchen
 * @create: 2019-03-19 14:15
 **/
@Getter
@Setter
@Accessors(chain = true)
public class PageParam {
    private String receiverName;
    private boolean export;
    private String userId;
    private String peerId;
    private int pageNum = 1;
    private int pageSize = 10;
    private int  [] statusArr ;
    private String condition;
    private String orderBy;
    private String sort;
    private String favorite;
    private String scope;
    private String type;
    private String language;
    private DeviceSearchStatus deviceSearchStatus;
    private String pn;


    /**
     *
     *
     * @return 状态数组
     */
    public int[] getStatusArr() {

        if (statusArr == null) {
            return null;
        }

        return statusArr.clone();
    }

    /**
     *
     *
     * @param statusArr 状态数组
     */
    public void setStatusArr(int[] statusArr) {

        if (statusArr == null) {
            return;
        }

        this.statusArr = statusArr.clone();
    }
}

